﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VRDD.InputDto._0427
{
    /// <summary>
    ///  审批好友申请
    /// </summary>
    public class ApproveFriendApply
    {
        /// <summary>
        ///  申请id
        /// </summary>
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请输入申请id")]//大于0正则表达式
        public int primary_key { get; set; }
        /// <summary>
        ///  状态
        ///  1=同意；2=不同意；0=忽略；-2=删除
        /// </summary>
        [RegularExpression("^((-2)|[0,1,2])$", ErrorMessage = "请正确输入状态：1=同意；2=不同意；0=忽略；-2=删除")]//大于0正则表达式
        public int apply_status { get; set; }
    }
}